import { Entity, PrimaryUuid, Int, RichText, Code, CreateDate, UpdateDate } from "../utils";
import { Index } from "typeorm";
@Entity({
    name: 'fj_hotel_description'
})
@Index("FJ_HOTEL_DESCRIPTION_SOURCEID", ['from', 'hotelid'])
export class FjHotelDescription {
    @PrimaryUuid()
    id: string;

    @Int()
    hotelid: number;

    @Code()
    from: string;

    @RichText()
    content: string;

    @RichText({ default: '' })
    content_cn: string;

    @Code({ nullable: true })
    hash: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}